<!--
 * @Description: 登录页面
 * @Author: LiuYan
 * @Date: 2022-02-11 10:34:46
 * @LastEditTime: 2023-04-20 09:38:35
 * @LastEditors: 刘岩 
 * @Reference: 
-->
<template>
  <div>登录页面</div>
  <button @click="blue">绿色</button>
  <button @click="red">红色</button>
</template>

<script setup>
import { setTheme } from '@/assets/styles/theme'
const blue = () => {
  setTheme('blue')
}
const red = () => {
  setTheme('red')
}
</script>
<style lang="less">
div {
  color: var(--title-text-color);
  font-weight: var(--font-weight);
  font-size: var(--font-size);
}
</style>
